{case value="select"}
    <!--
        如果选项的值是自定义数组(必须定义key为title的元素)需要解析，如果选项的值是常规字符串直接显示
        此处主要是用来给option定义更多的属性，比如data-ia=1，那么option应为
        $option = array('title' => 标题, 'data-id' => 1);
    -->
    <dl class="item_{$field.name}{$field.extra_class}">
      <dt>{$field.title}</dt>
      <dd>
        <div class="rule-single-select" style="position:relative;">
            <select name="{$field.name}" id="{$field.name}" >
                <option value=''>请选择</option>
                {foreach name="field.options" item="option" key="option_key"}
                    {php}if(is_array($option)):{/php}
                        <option value="{$option_key}" 
                            {foreach name="option" item="option2" key="option_key2"}
                                {$option_key2}="{$option2}"
                            {/foreach} >
                            {$option.title}
                        </option>
                    {php}else:{/php}
                        <option value="{$option_key}" {present name="field.value"}{eq name="field.value" value="$option_key"} selected{/eq}{/present}>{$option}</option>
                    {php}endif;{/php}
                {/foreach}
            </select>
        </div>
        {notempty name="field.tip"}<span class="Validform_checktip" style="position:absolute;left:304px;top:7px;">{present name="field.confirm"}{eq name="field.confirm" value="required"}<span class="red">*</span> {/eq}{/present}{$field.tip}</span>{/notempty}
      </dd>
    </dl>

{/case}